package com.wa.annotations.configurationProperties.nested;

import com.wa.MainApplication;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

//@RunWith(SpringRunner.class)
@SpringBootTest(classes = MainApplication.class)
public class ConfigurationPropertiesTest3 {

    @Resource
    XxlJobProperties bean;

    /**
     *  不标注NestedConfigurationProperty也可以注入
     */
    @Test
    public void test() {
        System.out.println(bean);
    }
}